<?php
if (!$sf_user->isAuthenticated()) :
  $form = new sfGuardFormSignin();
  ?> 
  <h1>Inicio de Sesi&oacute;n</h1>
  <form id="auth" action="<?php echo url_for('@sf_guard_signin') ?>" method="post">
    <table>
      <tfoot>
        <tr><td colspan="2"><?php echo link_to('&iquest;Olvid&oacute; su contrase&ntilde;a?', '/recuperar_clave'); ?></td></tr>
        <tr><td colspan="2"><input type="submit" value="Ingresar"/></td></tr>
      </tfoot>
      <tbody><?php echo $form ?></tbody>
    </table>
  </form>
<?php endif; ?>